  <style>
      /*二维码样式*/
      .erweima{
        display: none;
        position: absolute;
        bottom: 45px;
        left: 175px;
      }
  </style>
  <script src="{ms:global.host/}/{ms:global.style/}/js/jquery-1.7.2.min.js"></script>
  <section class="container">
    <header class="header">
      <h1 class="logo"> 
        <a href={ms:global.host/}>{ms:global.name/}</a>
      </h1>
    <!--头部导航栏-->
    <ul class="nav">    
      <li id="menu-item-98"> 
          <a href="{ms:global.host/}/"><span class="pic pic_1"></span>首页</a> 
      </li>
      <#assign cindex=2>
      {ms:channel orderby='sort' order='desc' }
       <#if field.typetitle !="热门标签">
      <li id="menu-item-${field.id}" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-${field.id}"> 
          <a href="<#if field.type==3>{ms:global.url/}${field.typeurl}<#else>{ms:global.url/}${field.typelink}</#if>"><span class="pic pic${cindex}"></span>${field.typetitle}</a>
      </li>     
      <#assign cindex=cindex+1>
      </#if>
      {/ms:channel}
    </ul>
    <!--二维码-->
    <img class="erweima" src="{ms:global.host/}/{ms:global.style/}/images/erwei.png" />
  </header>
  <!--侧面结束-->
  <script>
      //点击微信显示二维码
      function show(){
          $(".erweima").slideToggle();
      }
      //页面跳转导航栏样式保留
      $(document).ready(function(){  
         $(".nav li a").each(function(){  
              $this = $(this);  
              if($this[0].href==String(window.location)){  
                  $this.parent("li").addClass("hover");  
                  $this.css("color","#0d6cbf");  
              }  
         });  
      });
  </script>